package com.study.lickingdogcommon.enums.http;

/**
 * @Author suxiaoxiao
 * @Date 2019/5/17 2:09
 * @Version 1.0
 */
public enum  HttpMethodEnums {

    // GET请求
    HTTP_GET("GET", "GET请求"),
    // POST请求
    HTTP_POST("POST", "POST请求");

    private String code;
    private String value;

    /**
     * 构造方法
     * @param code
     * @param value
     */
    HttpMethodEnums(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

}
